package com.toocms.jinjuhang.ui.mine.download_section

import android.app.Application
import androidx.databinding.ObservableArrayList
import com.toocms.jinjuhang.R
import com.toocms.jinjuhang.BR
import com.toocms.tab.base.BaseModel
import com.toocms.tab.base.BaseViewModel
import com.toocms.tab.binding.ItemBinding

class DownloadFileListModel(application: Application) : BaseViewModel<BaseModel>(application) {

    val items=ObservableArrayList<DownloadFileItemModel>()
    val itemBinding=ItemBinding.of<DownloadFileItemModel>(BR.downloadFileItemModel, R.layout.item_download_file)

    init {
        items+=DownloadFileItemModel(this)
        items+=DownloadFileItemModel(this)
        items+=DownloadFileItemModel(this)
        items+=DownloadFileItemModel(this)
        items+=DownloadFileItemModel(this)
        items+=DownloadFileItemModel(this)
        items+=DownloadFileItemModel(this)
        items+=DownloadFileItemModel(this)
        items+=DownloadFileItemModel(this)
    }


}